﻿namespace Basic.FormRemoteModel.Column.Model
{
    public class ColumnFormula
    {
        /// <summary>
        /// 完整公式
        /// </summary>
        public string Formula { get; set; }

        /// <summary>
        /// 公式变量对应的列
        /// </summary>
        public FormulaVar[] VarCol
        {
            get;
            set;
        }
    }
    /// <summary>
    /// 公式变量
    /// </summary>
    public class FormulaVar
    {
        public long TableId { get; set; }
        /// <summary>
        /// 列ID
        /// </summary>
        public long ColId { get; set; }

        public string MenuId { get; set; }

        public FormulaPos From { get; set; }

        public FormulaPos To { get; set; }
    }
    public class FormulaPos
    {
        public int Ch
        {
            get;
            set;
        }
        public int Line
        {
            get;
            set;
        }
        public string Sticky
        {
            get;
            set;
        }
    }
}
